'use strict';
/**
 * PANES.js no longer use the MEAN.js style one route file match one controller style
 * Instead, we use one route table, rules as follow
 * if we specify particular route here, it will get match first
 * then we use a common pattern /:controller/:action to first try to match route
 * if nothing match we just next() to let the rest of the app handle 404 or 500
 */

/**
		EXAMPLE:
	{
			'/specialCtrl/specialAction/someExtra?q=12345': {controller: 'weirdCtrl' , action: 'weirdAction', view: 'weirdView', method: 'post' , 'ext': 'json' }
	}

  [not support yet]
  {
      '__controller__': {
          '__action__': {

          },
          '__action__': {

          }
      }
  }

**/

module.exports = {
    '/' : {controller: 'main' , action: 'index'}
};
